# 

CXX=@CXX@
CXXFLAGS=@CXXFLAGS@ 
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@

install=@INSTALL@

prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@

TARGET = func_hyper_randset
OBJS = go_graph.o go_obj.o go.o ../../common/idmap.o ../../common/transitions.o main.o 

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CXX) $(CXXFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS) 

main.o: main.cc
	$(CXX) $(CXXFLAGS) -o $@ -c $<

%.o: %.cc %.h
	$(CXX) $(CXXFLAGS) -o $@ -c $<

clean:
	rm -f *.o func_hyper_randset

dist-clean: clean
	rm -f Makefile

install: $(TARGET) 
	$(install) $(TARGET) $(bindir)
